namespace SuperGo.SilverlightLib.History {
    public class MoveHistoryEvent : HistoryEvent {
        private readonly int _x;
        private readonly int _y;
        private readonly Player _player;

        public MoveHistoryEvent(Board board, int x, int y, Player player, int blackCaptures, int whiteCaptures)
            : base(board, blackCaptures, whiteCaptures) {
            _x = x;
            _y = y;
            _player = player;
        }

        public int X {
            get { return _x; }
        }

        public int Y {
            get { return _y; }
        }

        public Player Player {
            get { return _player; }
        }
    }
}